import request from '@/utils/request'

// 查询大学生心理健康量表列表
export function listCollegeStudents(query) {
  return request({
    url: '/CollegeStudents/Students/list',
    method: 'get',
    params: query
  })
}

// 查询大学生心理健康量表详细
export function getCollegeStudents(id) {
  return request({
    url: '/CollegeStudents/Students/' + id,
    method: 'get'
  })
}

// 新增大学生心理健康量表
export function addCollegeStudents(data) {
  return request({
    url: '/CollegeStudents/Students',
    method: 'post',
    data: data
  })
}

// 修改大学生心理健康量表
export function updateCollegeStudents(data) {
  return request({
    url: '/CollegeStudents/Students',
    method: 'put',
    data: data
  })
}

// 删除大学生心理健康量表
export function delCollegeStudents(id) {
  return request({
    url: '/CollegeStudents/Students/' + id,
    method: 'delete'
  })
}
